<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>登录</h1>
<p th:text="${msg}"></p>
  <form action="/login">
      用户名:<input name="username" type="text"><br>
      密码:<input name="password" type="text"><br>
      <button type="submit">登录</button>
  </form>
</body>
</html>